package com.link.base.base.delivery.service;

import com.link.base.base.delivery.model.DeliveryDetails;
import com.link.core.basic.service.BasicService;

import java.util.List;

/**
 * Copyright  hande Company. All Rights Reserved.
 *
 * @author 黄龙建
 * @version 1.0
 * @date: 2018-06-19
 */

public interface DeliveryDetailsService extends BasicService<DeliveryDetails> {
    /**
     * <p>到货确认:<br/>1.修改发货明细到货数量
     * <br/>
     * 2.调用订单到货确认接口同步订单行的到货数量，生成记录、生成或修改库存产品-生成或修改库存产品数量、修改订单状态</p>
     *
     * @author 宁蓝昊
     * @param deliveryItemList 发货明细list
     */
    void arrivedOrderItem(List<DeliveryDetails> deliveryItemList) throws Exception;
}
